//
//  Person.m
//  MRC_Test
//
//  Created by admin on 2019/7/30.
//  Copyright © 2019 猫爷爷的酱醋茶. All rights reserved.
//

#import "Person.h"

@implementation Person



-(void)setName:(NSString*)name
{
    _name = name;
}
-(NSString*)name
{
    NSLog(@"我是getter方法");
    return _name;
}

-(void)setAge:(int)age
{
    NSLog(@"我是setAge方法");
    _age = age;
}
-(int)age
{
    return _age;
}


-(void)SayHi
{
    
    NSLog(@"哈喽，%@向您问好！",_name);
    
}

@end
